const config = {
  "{src,mock}/**/*.{vue,ts,js,jsx}": [
    "eslint --cache --cache-location .eslint-cache --max-warnings 0 --fix",
    "prettier --write --cache --cache-location=.prettier-cache"
  ],
  "{src,mock}/**/*.{css,less}": [
    "stylelint --cache --cache-location .stylelint-cache --fix",
    "prettier --write --cache --cache-location=.prettier-cache"
  ],
  "{src,mock}/**/*.json": [
    "prettier --write --cache --cache-location=.prettier-cache"
  ]
};

export default config;
